package com.bng8.majunzhu.common.constant;

import org.springframework.http.HttpStatus;

/**
 * @author 馬駿朱
 */
public interface AppConstants {
    /**
     * 失败消息：fail
     */
    static final String RETURN_MESSAGE_VALUE_FAILED = "fail";

    /**
     * 成功消息：success
     */
    static final String RETURN_MESSAGE_VALUE_SUCCESS = "success";

    /**
     * 默认失败参数值：500
     */
    static final int RETURN_CODE_VALUE_FAIL = HttpStatus.INTERNAL_SERVER_ERROR.value();

    /**
     * 默认成功参数值：200
     */
    static final int RETURN_CODE_VALUE_SUCCESS = HttpStatus.OK.value();
}
